﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GenericLibrariesToolKit.Enumeration;

namespace GenericLibrariesToolKit
{
    /// <summary>
    /// 实体类，组成实体管理器的元素
    /// </summary>
    public class Entity
    {
        /** 实体对应的数据库表名 **/
        public string TableName { get; set; }
        /** 实体标识符 **/
        public string EntityId { get; set; }
        /** 实体主键生成策略 **/
        public PKGenerationStrategy Generator { get; set; }
        /** 实体关系映射查找字典 **/
        public Dictionary<string, string> ORMDictionary;
    }
}
